<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css"></style>
    <style>
        body{
            margin:0;
            padding: 0;
            font-family: 'Overlock', cursive;
            overflow-x: hidden;
            overflow-y: scroll;
        }
        .wrap{
            max-width: 1024px;
            height: auto;
            margin-right: 1%;
            margin-left: 1%;
           /*使网页居中*/
            position: relative;
        }

        ul,li{
            list-style-type: none;
        }
        a{
            text-decoration: none;
            color: black;
        }
        /*正文*/
        header{
            display: none;
        }
        .input,.all.bg,.look,.movie,.new,.tecnology,.touxiang,.weibo,.sec1,.sec2{
            display: none;
        }
           @media only screen and (max-width: 1024px){
               header{
                   display: block;
                   width: 100%;
                   background: #EDEDED;
                   position: relative;
               }
               .input{
                   display: block;
                   width: 970px;
                   height: 35px;
                   margin-left: 1%;
                   margin-right: 1%;
               }
                  .navbar{
                      position: relative;
                      display: block;
                      margin-left: 20%;
                  }
                   .navbar li{
                       display: inline-block;
                        width: 10%;
                       height: 30px;
                       text-align: center;
                       line-height: 30px;
                   }
                   .tody{
                       border-bottom: 4px solid #5183E2;
                   }
                   .weibo:hover{
                       border-bottom: 4px solid #5183E2;
                   }
               .weibo:hover .sec2{
                  display: block;
               }
                   .sec1{
                       display: block;
                       position: relative;
                       width: 100%;
                       height:auto;
                       /*background: chartreuse;*/
                   }
                   .one,.two,.three,.four
                   {
                       border-bottom: 1px solid gainsboro;
                   }
                   .one img{
                       margin-right: 2%;
                   }
                   .two img{
                   margin-right: 2%;
                   }
           }

    </style>
</head>
<body>
    <header>
            <input type="text" placeholder="input" class="input"/>
        <div class="all">
                <ul class="navbar">
                     <li class="tody">今日看点</li>
                     <li class="weibo">微博</li>
                     <li>新闻头条</li>
                     <li>科技频道</li>
                     <li>电影咨询</li>
                     <li> +</li>
                </ul>
        </div>
    </header>
    <div class="wrap sec1">
         <div class="one">
             <h3>搞笑成人君：喂！醒醒，起床了</h3>
             <img src="q1.jpg" alt=""/>
             <img src="q2.jpg" alt=""/>
             <img src="q3.jpg" alt=""/>
             <p>搞笑成人君</p>
         </div>
         <div class="two">
             <h3>这个钉子户给马路留了一个车位</h3>
             <img src="q4.jpg" alt=""/>
             <img src="q5.jpg" alt=""/>
             <img src="q6.jpg" alt=""/>
             <p>搞手机凤凰网</p>
         </div>
         <div class="three">
             <h3>印度十大雷人习俗：不分男女露天洗浴</h3>
             <img src="q7.jpg" alt=""/>
             <img src="q8.jpg" alt=""/>
             <img src="q9.jpg" alt=""/>
             <p>光明网</p>
         </div>
         <div class="four">
                 <h3>雷图</h3>
                 <img src="q5.jpg" alt=""/>
                 <img src="q7.jpg" alt=""/>
                 <img src="q2.jpg" alt=""/>
                 <p>光明网</p>
         </div>
         <div class="five"></div>
    </div>
    <div class="wrap sec2">
        <div class="one">
            <h3>搞笑成人君：喂！醒醒，起床了</h3>
            <img src="q1.jpg" alt=""/>
            <img src="q2.jpg" alt=""/>
            <img src="q3.jpg" alt=""/>
            <p>搞笑成人君</p>
        </div>
        <div class="two">
            <h3>这个钉子户给马路留了一个车位</h3>
            <img src="q4.jpg" alt=""/>
            <img src="q5.jpg" alt=""/>
            <img src="q6.jpg" alt=""/>
            <p>搞手机凤凰网</p>
        </div>
        <div class="three">
            <h3>印度十大雷人习俗：不分男女露天洗浴</h3>
            <img src="q7.jpg" alt=""/>
            <img src="q8.jpg" alt=""/>
            <img src="q9.jpg" alt=""/>
            <p>光明网</p>
        </div>
        <div class="three">
            <h3>印度十大雷人习俗：不分男女露天洗浴</h3>
            <img src="q7.jpg" alt=""/>
            <img src="q8.jpg" alt=""/>
            <img src="q9.jpg" alt=""/>
            <p>光明网</p>
        </div>
    </div>
</body>
</html>